import Vue from "vue";
import VueRouter from "vue-router";
import Home from '../views/Home.vue'
Vue.use(VueRouter)

const routes = [{
        path: '/',
        name: 'home',
        component: Home
    },
    {
        path: '/browse',
        name: 'browse',
        component: () => import('../views/Browse.vue')
    },
    {
        path: '/wishlist',
        name: 'wishlist',
        component: () => import('../views/Wishlist.vue')
    },
    {
        path: '/profile',
        name: 'profile',
        component: () => import('../views/Profile.vue')
    },
]
const router = new VueRouter({
    routes
})

export default router